import request from '@/utils/request/index'

// 班级list
export const reqAllClass = () => {
  return request.get('/getAllClass' )
}

// 课程list
export const reqAllScore = () => {
  return request.get('/getAllCouse' )
}

// 活动list
export const reqAllActivity = (data) => {
  return request.post('/getAllActiveList', data )
}

// 小组活跃度
export const reqGroupLiveness = (data) => {
  return request.post('/getGroupLiveness', data )
}
// 小组活跃度
export const reqStudentLiveness = (data) => {
  return request.post('/getStudentLiveness', data )
}
// 个人得分
export const reqStudentScore = (data) => {
  return request.post('/getHistoryAllScore', data )
}
// 小组活跃度递增比
export const reqGroupLivenessRatio = (data) => {
  return request.post('/getGroupLivenessRatio', data )
}
// 小组得分
export const reqGroupScore = (data) => {
  return request.post('/getGroupScore', data )
}
// 小组得分
export const reqActCount = (data) => {
  return request.get(`/getActCount?courseId=${data.courseId}&classId=${data.classId}`)
}

